<%@page import="java.util.ArrayList"%>
<%@page import="kr.ac.changbuk.LoginBean"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<h1>List실습</h1>
<%
	LoginBean oneBean = new LoginBean();
	oneBean.setUserid("aaa");
	oneBean.setPasswd("1234");
	
	LoginBean twoBean = new LoginBean();
	twoBean.setUserid("bbb");
	twoBean.setPasswd("2222");
	
	ArrayList<LoginBean> list = new ArrayList<LoginBean>();
	list.add(oneBean);
	list.add(twoBean);
	
	request.setAttribute("bean", list);	
%>
<jsp:forward page="get.jsp"/>
</body>
</html>